/**
 * 子模块service
 * DHpai
 */
var service = function($resource, $q, $state, $modal){

    var type_list = [
		{'label': '全部', 'type': ''},
		{'label': '生产企业', 'type': '0'},
		{'label': '贸易企业', 'type': '1'},
		{'label': '运输企业', 'type': '2'}
    ];
    
    //资质审核列表
    var qualifyList = '/api/ac/dsc/checkEnterpriseService/checkQualifyList';
    
    //财务审核列表
    var financeList = '/api/ac/dsc/checkEnterpriseService/checkFinanceList';
    
    //管理审核列表
    var manageList = '/api/ac/dsc/checkEnterpriseService/checkManageList';
    

    return {
        type_list : function(){
            return type_list;
        },
        qualifyList : function(){
            return $resource(qualifyList, {}, {});
        },
        financeList : function(){
            return $resource(financeList, {}, {});
        },
        manageList : function(){
            return $resource(manageList, {}, {});
        }
    };

};

module.exports = service;